<div class="fl leftBox">
	<div class="catg_head boxSizing">
		<p>対象商品</p>
		<p><b>{{ products.total }}点</b></p>
	</div>
	<div class="catg_search_box">
		<form action="/search-bootstrap" method="get">
			<p class="searC">
				<input type="text" class="catg_searchIpt fl" placeholder="キーワードで探す" name="q" maxlength="100" autocomplete="off" value="{{this.param.keyword}}">
				<button class="catg_searchBtn fr" type="submit"><i class="fa fa-search"></i></button>
			</p>
		</form>
	</div>
	<div class="catg_muneBox">
		<h3 class="catg_searH">ITEMアイテム</h3>
		<ul class="catg_mune">
			{% for cate in catalog.categories() %}
			   {% if cate.is_enabled==1 %}
			   {% for subcate in cate.children %}
					{% set parent_total = catalog.getCategoryProducts(subcate.id) %}
					<li><a href="{{ subcate.url }}"><b>{{ subcate.name }}({{ parent_total['total']?:0 }})</b></a></li>
					{% if subcate.children %}
						{% for cat in subcate.children %}
							{% if cat.is_enabled %}
								{% set child_total = catalog.getCategoryProducts(cat.id) %}
								<li><a href="{{ cat.url }}">{{ cat.name }}({{ child_total['total']?:0 }})</a></li>
							{% endif %}		
						{% endfor %}
					{% endif %}
				{% endfor %}
				{% endif %}
			{% endfor %}
		</ul>

	</div>
</div>